import  axios from '../utils/http'

export function getDetail(courseId) {
    return axios.get(`/api/pc/course/detail/${courseId}`)
}
export function getComments(courseId,size,num) {
    return axios.get(`/api/pc/comment/commentList/course/${courseId}?pageSize=${size}&pageNum=${num}`)
}
